//
//  BAKit_Clone.h
//  NiubilityProject
//
//  Created by Apple on 2018/3/29.
//  Copyright © 2018年 Apple. All rights reserved.
//

#ifndef BAKit_Clone_h
#define BAKit_Clone_h

static NSString *const JSKit_FormatString_YMDHMS = @"YYYY-MM-dd HH:mm:ss";
static NSString *const JSKit_FormatString_YMD = @"YYYY-MM-dd";
static NSString *const JSKit_FormatString_HM = @"HH:mm";
static NSString *const JSKit_FormatString_HMS = @"HH:mm:ss";
static NSString *const JSKit_FormatString_MDHM = @"MM-dd HH:mm";
static NSString *const JSKit_FormatString_YMDHM = @"yyyy-MM-dd HH:mm";
static NSString *const JSKit_FormatString_YMDEHMS = @"yyyy-MM-dd, EEE, HH:mm:ss";
static NSString *const JSKit_FormatString_YMD2  = @"yyyy/MM/dd";
static NSString *const JSKit_FormatString_YM  = @"yyyy-MM";
static NSString *const JSKit_FormatString_YMDHM2  =  @"yyyy/MM/dd HH:mm";
static NSString *const JSKit_FormatString_YMDHMS2 = @"yyyy/MM/dd HH:mm:ss";
static NSString *const JSKit_FormatString_YMDEHMS2 = @"yyyy/MM/dd, EEE, HH:mm:ss";
static NSString *const JSKit_FormatString_YM2   =    @"yyyy/MM";
static NSString *const JSKit_FormatString_YMD3   =   @"yyyy年MM月dd日";
static NSString *const JSKit_FormatString_Y     =    @"yyyy";
static NSString *const JSKit_FormatString_M     =   @"MM";
static NSString *const JSKit_FormatString_D     =    @"dd";





#import "BAKit_NSString.h"
#import "NSData+BAKit.h"
#import "NSDate+BAKit.h"
#import "NSDictionary+BAKit.h"
#import "NSArray+BAKit.h"
#import "NSMutableArray+BAKit.h"
#import "NSMutableDictionary+BAKit.h"
#import "NSMutableAttributedString+BAKit.h"
//#import "BAJumpManager.h"
#import "BALoadingHubView.h"
#import "BALocalNotification.h"
#import "BACustomBarItem.h"
#import "BAKit_RegularExpression.h"
#import "HMSegmentedControl.h"
#import "BAShareManage.h"
#import "BASystermSetting.h"
#import "NSDateFormatter+BAKit.h"
#import "NSFileManager+BAKit.h"
#import "NSNumber+BAKit.h"
#import "NSObject+BARunTime.h"
#import "NSProcessInfo+BAKit.h"
#import "NSShadow+BAKit.h"
#import "NSThread+BAKit.h"
#import "BAKit_UserDefaults.h"
#import "NSFileManager+BAKit.h"
#import "UILabel+BAAttributeTextTapAction.h"
#import "UINavigationController+BAKit.h"
#import "UIView+BAKit.h"
#import "BAKit_KeyboardView.h"


/**
 当前日期
 
 @return 当前日期
 */
CG_INLINE NSDate *
BAKit_Current_Date(void){
    return [NSDate date];
}

/**
 当前日历
 
 @return 当前日历
 */
CG_INLINE NSCalendar *
BAKit_Current_Calendar(void){
    return [NSCalendar currentCalendar];
}

/**
 当前时间【year】
 
 @return 当前时间【year】
 */
CG_INLINE NSInteger
BAKit_Current_Year(void){
    return BAKit_Current_Date().year;
}

/**
 当前时间【month】
 
 @return 当前时间【month】
 */
CG_INLINE NSInteger
BAKit_Current_Month(void){
    return BAKit_Current_Date().month;
}

/**
 当前时间【day】
 
 @return 当前时间【day】
 */
CG_INLINE NSInteger
BAKit_Current_Day(void){
    return BAKit_Current_Date().day;
}

/**
 当前时间【hour】
 
 @return 当前时间【hour】
 */
CG_INLINE NSInteger
BAKit_Current_Hour(void){
    return BAKit_Current_Date().hour;
}

/**
 当前时间【minute】
 
 @return 当前时间【minute】
 */
CG_INLINE NSInteger
BAKit_Current_Minute(void){
    return BAKit_Current_Date().minute;
}

/**
 当前时间【weekday】
 
 @return 当前时间【weekday】
 */
CG_INLINE NSString *
BAKit_Current_Weekday(void){
    return [NSString ba_time_getWeekdayWithDate:BAKit_Current_Date()];
}

/**
 当前时间【YMDHMS】
 
 @return 当前时间【YMDHMS】
 */
CG_INLINE NSString *
BAKit_Current_DateYMDHMS(void){
    return [NSString ba_time_getSystermCurrentDateYMDHMS];
}

/**
 当前时间【YMDHMS】
 
 @return 当前时间【YMDHMS】
 */
CG_INLINE NSString *
BAKit_Current_DateWithFormatString(NSString *formatString){
    return [NSString ba_time_getSystermCurrentDateWithFormatString:formatString];
}
#pragma mark - margin
#define BAKit_Margin_10 flatSpecificScale(10, 0)
#define BAKit_Margin_EmotionViewHeight flatSpecificScale(232,0)


#pragma mark - color

#define BAKit_Color_Gray_10 JS_ColorWithRGB(240, 240, 240)
#define BAKit_Color_Gray_9 JS_ColorWithRGB(216, 220, 228)
#define BAKit_Color_Gray_8 JS_ColorWithRGB(196, 200, 208)
#define BAKit_Color_Gray_6 JS_ColorWithRGB(153, 160, 170)
#endif /* BAKit_Clone_h */
